package com.financing.wap.service.payment.baofoo.model;


import java.io.Serializable;


/**
 * 易宝支付相关参数
 * @author mega-t420
 *
 */
public class BaofooConfig implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	// 商户私钥
	private String keyPath;
	// 商户私钥密码
	private String keyPwd;
	// 宝付公钥
	private String cerPath;
	//商户号
	private String member_id;
	//终端号
	private String terminal_id;
	//支付请求、支付结果查询调用地址（支付和查询公用）
	private String backTransRequest;
	
	private String bindcardUrl;

	private static final BaofooConfig baoFooConfig = new BaofooConfig();
	
	public static BaofooConfig getInstance(){
		return baoFooConfig;
	}

	public String toString(){
		StringBuffer sb = new StringBuffer() ; 
		sb.append("易宝支付相关参数\n").append("\t\t")
		.append("keyPath").append(":").append(keyPath).append("\n").append("\t\t")
		.append("keyPwd").append(":").append(keyPwd).append("\n").append("\t\t")
		.append("cerPath").append(":").append(cerPath).append("\n").append("\t\t")
		.append("member_id").append(":").append(member_id).append("\n").append("\t\t")
		.append("terminal_id").append(":").append(terminal_id).append("\n").append("\t\t")
		.append("backTransRequest").append(":").append(backTransRequest).append("\n").append("\t\t");
		return sb.toString() ; 
	}

	public String getKeyPath() {
		return keyPath;
	}

	public void setKeyPath(String keyPath) {
		this.keyPath = keyPath;
	}

	public String getKeyPwd() {
		return keyPwd;
	}

	public void setKeyPwd(String keyPwd) {
		this.keyPwd = keyPwd;
	}

	public String getCerPath() {
		return cerPath;
	}

	public void setCerPath(String cerPath) {
		this.cerPath = cerPath;
	}

	public String getMember_id() {
		return member_id;
	}

	public void setMember_id(String member_id) {
		this.member_id = member_id;
	}

	public String getTerminal_id() {
		return terminal_id;
	}

	public void setTerminal_id(String terminal_id) {
		this.terminal_id = terminal_id;
	}

	public String getBackTransRequest() {
		return backTransRequest;
	}

	public void setBackTransRequest(String backTransRequest) {
		this.backTransRequest = backTransRequest;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getBindcardUrl() {
		return bindcardUrl;
	}

	public void setBindcardUrl(String bindcardUrl) {
		this.bindcardUrl = bindcardUrl;
	}
}
